
<!DOCTYPE HTML>
<html lang="en" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Error Code · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    


    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="area_type.html" />
    
    
    <link rel="prev" href="body_shape.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Overview
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../guide/android.html">
            
                <a href="../guide/android.html">
            
                    
                    android
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../guide/ios.html">
            
                <a href="../guide/ios.html">
            
                    
                    ios
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    work process
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../flow/ble_scale.html">
            
                <a href="../flow/ble_scale.html">
            
                    
                    Common Bluetooth scale
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../flow/ble_scale_custom_connect.html">
            
                <a href="../flow/ble_scale_custom_connect.html">
            
                    
                    Common Bluetooth Scale-Self-managed Bluetooth
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../flow/kitchen_scale.html">
            
                <a href="../flow/kitchen_scale.html">
            
                    
                    Kitchen scale
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../flow/ble_user_scale.html">
            
                <a href="../flow/ble_user_scale.html">
            
                    
                    User Scale
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../flow/ble_ruler.html">
            
                <a href="../flow/ble_ruler.html">
            
                    
                    Bluetooth ruler
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    API
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html">
            
                    
                    QNBleApi
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1.1" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#initsdk">
            
                    
                    initSdk
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.2" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#getcursystemblestate">
            
                    
                    getCurSystemBleState
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.3" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setsysblestatelistener">
            
                    
                    setSysBleStateListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.4" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setbledevicediscoverylistener">
            
                    
                    setBleDeviceDiscoveryListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.5" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setbleconnectionchangelistener">
            
                    
                    setBleConnectionChangeListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.6" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setdataListener">
            
                    
                    setDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.7" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setblekitchenlistener">
            
                    
                    setBleKitchenListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.8" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setloglistener">
            
                    
                    setLogListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.9" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#startbledevicediscovery">
            
                    
                    startBleDeviceDiscovery
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.10" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#stopbledevicediscovery">
            
                    
                    stopBleDeviceDiscovery
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.11" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#connectdevice">
            
                    
                    connectDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.12" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#connectuserscaledevice">
            
                    
                    connectUserScaleDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.13" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#connectblekitchendevice">
            
                    
                    connectBleKitchenDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.14" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setblekitchendeviceconfig">
            
                    
                    setBleKitchenDeviceConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.15" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#disconnectdevice">
            
                    
                    disconnectDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.16" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#getconfig">
            
                    
                    getConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.17" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#convertweightwithtargetunit">
            
                    
                    convertWeightWithTargetUnit
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.18" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#builddevice">
            
                    
                    buildDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.19" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#buildprotocolhandler">
            
                    
                    buildProtocolHandler
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.20" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#generatescaledata">
            
                    
                    generateScaleData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.21" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#physiquecalculation">
            
                    
                    physiqueCalculation
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.22" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#switchuserscaleuser">
            
                    
                    switchUserScaleUser
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.23" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#updateuserscaleidentifyweight">
            
                    
                    updateUserScaleIdentifyWeight
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.24" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setblerulerlistener">
            
                    
                    setBleRulerListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.25" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#connectrulerdevice">
            
                    
                    connectRulerDevice
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../api/QNUser.html">
            
                <a href="../api/QNUser.html">
            
                    
                    QNUser
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../api/QNScaleData.html">
            
                <a href="../api/QNScaleData.html">
            
                    
                    QNScaleData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="../api/QNScaleStoreData.html">
            
                <a href="../api/QNScaleStoreData.html">
            
                    
                    QNScaleStoreData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="../api/QNScaleItemData.html">
            
                <a href="../api/QNScaleItemData.html">
            
                    
                    QNScaleItemData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="../api/QNBleDevice.html">
            
                <a href="../api/QNBleDevice.html">
            
                    
                    QNBleDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="../api/QNBleBroadcastDevice.html">
            
                <a href="../api/QNBleBroadcastDevice.html">
            
                    
                    QNBleBroadcastDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="../api/QNBleKitchenDevice.html">
            
                <a href="../api/QNBleKitchenDevice.html">
            
                    
                    QNBleKitchenDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="../api/QNConfig.html">
            
                <a href="../api/QNConfig.html">
            
                    
                    QNConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="../api/QNWiFiConfig.html">
            
                <a href="../api/QNWiFiConfig.html">
            
                    
                    QNWiFiConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="../api/QNUserScaleConfig.html">
            
                <a href="../api/QNUserScaleConfig.html">
            
                    
                    QNUserScaleConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="../api/QNBleKitchenConfig.html">
            
                <a href="../api/QNBleKitchenConfig.html">
            
                    
                    QNBleKitchenConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.13" data-path="../api/QNBleStateListener.html">
            
                <a href="../api/QNBleStateListener.html">
            
                    
                    QNBleStateListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.14" data-path="../api/QNBleDeviceDiscoveryListener.html">
            
                <a href="../api/QNBleDeviceDiscoveryListener.html">
            
                    
                    QNBleDeviceDiscoveryListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.15" data-path="../api/QNBleConnectionChangeListener.html">
            
                <a href="../api/QNBleConnectionChangeListener.html">
            
                    
                    QNBleConnectionChangeListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.16" data-path="../api/QNScaleDataListener.html">
            
                <a href="../api/QNScaleDataListener.html">
            
                    
                    QNScaleDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.17" data-path="../api/QNUserScaleDataListener.html">
            
                <a href="../api/QNUserScaleDataListener.html">
            
                    
                    QNUserScaleDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.18" data-path="../api/QNBleKitchenListener.html">
            
                <a href="../api/QNBleKitchenListener.html">
            
                    
                    QNBleKitchenListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.19" data-path="../api/QNLogListener.html">
            
                <a href="../api/QNLogListener.html">
            
                    
                    QNLogListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.20" data-path="../api/QNResultCallback.html">
            
                <a href="../api/QNResultCallback.html">
            
                    
                    QNResultCallback
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.21" data-path="../api/QNShareData.html">
            
                <a href="../api/QNShareData.html">
            
                    
                    QNShareData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.22" data-path="../api/QNUtils.html">
            
                <a href="../api/QNUtils.html">
            
                    
                    QNUtils
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.23" data-path="../api/QNBleProtocolHandler.html">
            
                <a href="../api/QNBleProtocolHandler.html">
            
                    
                    QNBleProtocolHandler
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.24" data-path="../api/QNBleProtocolDelegate.html">
            
                <a href="../api/QNBleProtocolDelegate.html">
            
                    
                    QNBleProtocolDelegate
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.25" data-path="../api/QNWspScaleDataListener.html">
            
                <a href="../api/QNWspScaleDataListener.html">
            
                    
                    QNWspScaleDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.26" data-path="../api/QNBleRulerDevice.html">
            
                <a href="../api/QNBleRulerDevice.html">
            
                    
                    QNBleRulerDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.27" data-path="../api/QNBleRulerData.html">
            
                <a href="../api/QNBleRulerData.html">
            
                    
                    QNBleRulerData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.28" data-path="../api/QNBleRulerListener.html">
            
                <a href="../api/QNBleRulerListener.html">
            
                    
                    QNBleRulerListener
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    Schedule
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="faq.html">
            
                <a href="faq.html">
            
                    
                    FAQ
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="body_indexes.html">
            
                <a href="body_indexes.html">
            
                    
                    Body Index Constant
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="device_type.html">
            
                <a href="device_type.html">
            
                    
                    Device Type
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="display_module_type.html">
            
                <a href="display_module_type.html">
            
                    
                    Display module type
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="body_shape.html">
            
                <a href="body_shape.html">
            
                    
                    Body shape comparison table
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.6.6" data-path="error_code.html">
            
                <a href="error_code.html">
            
                    
                    Error Code
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="area_type.html">
            
                <a href="area_type.html">
            
                    
                    Area Type
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="scan_error.html">
            
                <a href="scan_error.html">
            
                    
                    Scan Error Code
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="scale_state.html">
            
                <a href="scale_state.html">
            
                    
                    Scale State Definition
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10" data-path="scale_event.html">
            
                <a href="scale_event.html">
            
                    
                    Scale event definition
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.11" data-path="test_list.html">
            
                <a href="test_list.html">
            
                    
                    Test Case
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.12" data-path="../history/history.html">
            
                <a href="../history/history.html">
            
                    
                    Update Log
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >Error Code</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="error-code">error code</h1>
<h3 id="normal-operation">normal operation</h3>
<table>
<thead>
<tr>
<th style="text-align:left">Error constant</th>
<th style="text-align:left">error code</th>
<th style="text-align:left">meaning</th>
<th style="text-align:left">Explanation</th>
<th style="text-align:left">solution</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">OK</td>
<td style="text-align:left">0</td>
<td style="text-align:left">success</td>
<td style="text-align:left">Successful operation</td>
<td style="text-align:left">no</td>
</tr>
</tbody>
</table>
<h3 id="initialization-related-errors">Initialization related errors</h3>
<table>
<thead>
<tr>
<th style="text-align:left">Error constant</th>
<th style="text-align:left">error code</th>
<th style="text-align:left">meaning</th>
<th style="text-align:left">Explanation</th>
<th style="text-align:left">solution</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">ERROR_INVALIDATE_APP_ID</td>
<td style="text-align:left">1001</td>
<td style="text-align:left">app id is invalidate</td>
<td style="text-align:left">APPID is invalid</td>
<td style="text-align:left">Use the correct APPID</td>
</tr>
<tr>
<td style="text-align:left">ERROR_NOT_INIT_SDK</td>
<td style="text-align:left">1002</td>
<td style="text-align:left">please call the method &quot;initSdk&quot; first</td>
<td style="text-align:left">The initSDK method is not called</td>
<td style="text-align:left">Call initSDK first</td>
</tr>
<tr>
<td style="text-align:left">ERROR_FIRST_DATA_FILE_URI</td>
<td style="text-align:left">1003</td>
<td style="text-align:left">the first data file uri is error, please provide the correct one</td>
<td style="text-align:left">The Uri of the initial data file is incorrect</td>
<td style="text-align:left">Provide the correct path</td>
</tr>
<tr>
<td style="text-align:left">ERROR_PACKAGE_NAME</td>
<td style="text-align:left">1004</td>
<td style="text-align:left">the Android Package Name is Error ,Please Check it Or Contact the SDK Provider</td>
<td style="text-align:left">Android&apos;s package name is incorrect</td>
<td style="text-align:left">Check if the package name is correct or contact the SDK provider</td>
</tr>
<tr>
<td style="text-align:left">ERROR_BUNDLE_ID</td>
<td style="text-align:left">1005</td>
<td style="text-align:left">the IOS APP Bundle Id is Error ,Please Check it Or Contact the SDK Provider</td>
<td style="text-align:left">The IOS Bundle Id is incorrect</td>
<td style="text-align:left">Check if the package name is correct or contact the SDK provider</td>
</tr>
<tr>
<td style="text-align:left">ERROR_INIT_FILE</td>
<td style="text-align:left">1006</td>
<td style="text-align:left">The config file content is wrong ,Please provide the correct one</td>
<td style="text-align:left">Incorrect initial configuration file</td>
<td style="text-align:left">Let Yolanda provide another initial document</td>
</tr>
</tbody>
</table>
<h3 id="bluetooth-related-errors">Bluetooth related errors</h3>
<table>
<thead>
<tr>
<th style="text-align:left">Error constant</th>
<th style="text-align:left">error code</th>
<th style="text-align:left">meaning</th>
<th style="text-align:left">Explanation</th>
<th style="text-align:left">solution</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">ERROR_BLUETOOTH_CLOSED</td>
<td style="text-align:left">1101</td>
<td style="text-align:left">the bluetooth is closed,please enable it first</td>
<td style="text-align:left">Bluetooth is off</td>
<td style="text-align:left">Prompt the user to turn on Bluetooth, android can call turn on Bluetooth</td>
</tr>
<tr>
<td style="text-align:left">ERROR_LOCATION_PERMISSION</td>
<td style="text-align:left">1102</td>
<td style="text-align:left">your app need the android authorize the location permission</td>
<td style="text-align:left">Need authorization authorization</td>
<td style="text-align:left">Need to authorize users to locate</td>
</tr>
<tr>
<td style="text-align:left">ERROR_BLE_ERROR</td>
<td style="text-align:left">1103</td>
<td style="text-align:left">bluetooth internal error occurred</td>
<td style="text-align:left">When calling Bluetooth, a system error occurred.</td>
<td style="text-align:left">You can try the operation again, or prompt the user to restart Bluetooth.</td>
</tr>
<tr>
<td style="text-align:left">ERROR_CONNECT_WHEN_CONNECTING</td>
<td style="text-align:left">1104</td>
<td style="text-align:left">bluetooth is doing connect, you should not call connect right now</td>
<td style="text-align:left">While connecting, the Bluetooth connection is called again</td>
<td style="text-align:left">Do not call the Bluetooth connection multiple times before Bluetooth is disconnected</td>
</tr>
<tr>
<td style="text-align:left">ERROR_CONNECT_WHEN_HAS_CONNECTED</td>
<td style="text-align:left">1105</td>
<td style="text-align:left">bluetooth is connected another scale, please disconnect it first</td>
<td style="text-align:left">A device has been connected and the Bluetooth connection is called again</td>
<td style="text-align:left">Disconnect the previous Bluetooth connection before calling the connection</td>
</tr>
<tr>
<td style="text-align:left">ERROR_BLUETOOTH_UNKNOWN</td>
<td style="text-align:left">1106</td>
<td style="text-align:left">the bluetooth state is unknown, this state may appear when the bluetooth is not prepared on the IOS</td>
<td style="text-align:left">Bluetooth status unknown</td>
<td style="text-align:left">It may be that the device is initialized and may appear on the IOS platform</td>
</tr>
<tr>
<td style="text-align:left">ERROR_BLUETOOTH_RESETTING</td>
<td style="text-align:left">1107</td>
<td style="text-align:left">the system is resetting the bluetooth, try again later</td>
<td style="text-align:left">Restarting Bluetooth system</td>
<td style="text-align:left">Try again later</td>
</tr>
<tr>
<td style="text-align:left">ERROR_BLUETOOTH_UNSUPPORTED</td>
<td style="text-align:left">1108</td>
<td style="text-align:left">the phone/pad is not support BLE, try another phone/pad</td>
<td style="text-align:left">The phone does not support the use of Bluetooth devices</td>
<td style="text-align:left">Try another device</td>
</tr>
<tr>
<td style="text-align:left">ERROR_BLUETOOTH_UNAUTHORIZED</td>
<td style="text-align:left">1109</td>
<td style="text-align:left">bluetooth is unauthorized, ask user authorize</td>
<td style="text-align:left">Unauthorized use of Bluetooth devices</td>
<td style="text-align:left">Request user authorization APP Bluetooth permission</td>
</tr>
<tr>
<td style="text-align:left">ERROR_BLE_CONNECT_FAIL</td>
<td style="text-align:left">1110</td>
<td style="text-align:left">failed to connect scale, try reconnect</td>
<td style="text-align:left">Bluetooth connection error</td>
<td style="text-align:left">Reconnect the device</td>
</tr>
<tr>
<td style="text-align:left">ERROR_BLE_DISCONNECTING</td>
<td style="text-align:left">1111</td>
<td style="text-align:left">it is disconnecting th scale, try again later</td>
<td style="text-align:left">Bluetooth connected device is disconnecting</td>
<td style="text-align:left">Try again later</td>
</tr>
<tr>
<td style="text-align:left">ERROR_BLE_NONE_SCAN</td>
<td style="text-align:left">1112</td>
<td style="text-align:left">No bluetooth device has been scanned</td>
<td style="text-align:left">No Bluetooth devices are scanned</td>
<td style="text-align:left">Prompt user to restart Bluetooth and scale</td>
</tr>
<tr>
<td style="text-align:left">ERROR_BLE_CONNECT_OVERTIME</td>
<td style="text-align:left">1113</td>
<td style="text-align:left">Connect device timeout</td>
<td style="text-align:left">Within the specified connection time, the connected device is not successful</td>
<td style="text-align:left">reconnect</td>
</tr>
</tbody>
</table>
<h3 id="method-call-error">Method call error</h3>
<table>
<thead>
<tr>
<th style="text-align:left">Error constant</th>
<th style="text-align:left">error code</th>
<th style="text-align:left">meaning</th>
<th style="text-align:left">Explanation</th>
<th style="text-align:left">solution</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">ERROR_ILLEGAL_ARGUMENT</td>
<td style="text-align:left">1201</td>
<td style="text-align:left">illegal argument,please check the api document</td>
<td style="text-align:left">Wrong parameter</td>
<td style="text-align:left">Check the API documentation and pass in the correct parameters</td>
</tr>
<tr>
<td style="text-align:left">ERROR_MISS_DISCOVERY_LISTENER</td>
<td style="text-align:left">1202</td>
<td style="text-align:left">miss the discovery listener, please set the listener first</td>
<td style="text-align:left">When scanning, the scan monitoring method is not set</td>
<td style="text-align:left">Set up the listener before calling scan Bluetooth</td>
</tr>
<tr>
<td style="text-align:left">ERROR_MISS_DATA_LISTENER</td>
<td style="text-align:left">1203</td>
<td style="text-align:left">miss the data listener, please set the listener first</td>
<td style="text-align:left">No data listener is set when connecting the device</td>
<td style="text-align:left">Set up the data listener first</td>
</tr>
<tr>
<td style="text-align:left">ERROR_USER_ID_EMPTY</td>
<td style="text-align:left">1204</td>
<td style="text-align:left">the user id argument is null or empty</td>
<td style="text-align:left">user_id cannot be empty</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left">ERROR_USER_GENDER</td>
<td style="text-align:left">1205</td>
<td style="text-align:left">the gender argument is wrong, please pass the &quot;male&quot; or &quot;female&quot;</td>
<td style="text-align:left">The user&apos;s gender value passed is wrong</td>
<td style="text-align:left">male or female</td>
</tr>
<tr>
<td style="text-align:left">ERROR_USER_HEIGHT</td>
<td style="text-align:left">1206</td>
<td style="text-align:left">the height argument is wrong, please pass the value within 40 and 240 cm</td>
<td style="text-align:left">Wrong height</td>
<td style="text-align:left">Pass the value of 40 ~ 240cm</td>
</tr>
<tr>
<td style="text-align:left">ERROR_USER_BIRTHDAY</td>
<td style="text-align:left">1207</td>
<td style="text-align:left">the birthday argument is wrong, please pass the date before today</td>
<td style="text-align:left">Wrong birthday</td>
<td style="text-align:left">Don&apos;t pass values later than the current time</td>
</tr>
<tr>
<td style="text-align:left">ERROR_START_SERVICE_BACKGROUND</td>
<td style="text-align:left">1208</td>
<td style="text-align:left">after <strong>Android O</strong>,not allowed to start service in background</td>
<td style="text-align:left">After Android O, starting the service in the background will report an error</td>
<td style="text-align:left">Start the service when the app is in the foreground</td>
</tr>
<tr>
<td style="text-align:left">ERROR_USER_ATHLETE_TYPE</td>
<td style="text-align:left">1209</td>
<td style="text-align:left">the athleteType argument is wrong, only allow 0 or 1</td>
<td style="text-align:left">Only 0 or 1 is allowed</td>
<td style="text-align:left">Check fill type</td>
</tr>
<tr>
<td style="text-align:left">ERROR_USER_SHAPE_GOAL_TYPE</td>
<td style="text-align:left">1210</td>
<td style="text-align:left">the shape or goal argument is wrong</td>
<td style="text-align:left">shapeType or goalType parameter matching error</td>
<td style="text-align:left">Check fill type</td>
</tr>
<tr>
<td style="text-align:left">ERROR_DEVICE_TYPE</td>
<td style="text-align:left">1211</td>
<td style="text-align:left">the device type is wrong</td>
<td style="text-align:left">Device type error</td>
<td style="text-align:left">Check device type</td>
</tr>
<tr>
<td style="text-align:left">ERROR_WIFI_PARAMS</td>
<td style="text-align:left">1212</td>
<td style="text-align:left">the WiFi params is wrong</td>
<td style="text-align:left">WiFi configuration parameter storage error</td>
<td style="text-align:left">View <a href="../api/QNWiFiConfig.html">QNWiFiConfig</a> related documents</td>
</tr>
<tr>
<td style="text-align:left">ERROR_REGISTER_DEVICE</td>
<td style="text-align:left">1213</td>
<td style="text-align:left">register device is fail</td>
<td style="text-align:left">Device registration failed</td>
<td style="text-align:left">Check the specific error reason return error</td>
</tr>
<tr>
<td style="text-align:left">ERROR_NOCOMPLETE_MEASURE</td>
<td style="text-align:left">1214</td>
<td style="text-align:left">you can get data when measurement complete</td>
<td style="text-align:left">Failed to obtain measurement data</td>
<td style="text-align:left">Please wait for the measurement data to be obtained after the measurement is completed</td>
</tr>
<tr>
<td style="text-align:left">ERROR_NOSUPPORT_MODIFY</td>
<td style="text-align:left">1215</td>
<td style="text-align:left">not supported modifying units</td>
<td style="text-align:left">Does not support modifying units</td>
<td style="text-align:left">Please check whether <a href="../api/QNBleBroadcastDevice.html">QNBleBroadcastDevice</a> supports unit modification</td>
</tr>
<tr>
<td style="text-align:left">ERROR_USER_INDEX</td>
<td style="text-align:left">1216</td>
<td style="text-align:left">the user&apos;s index is wrong</td>
<td style="text-align:left">User index is not set or set illegally</td>
<td style="text-align:left">Please check whether the index is set when building the user, or whether it is within a reasonable range [1, 8]</td>
</tr>
<tr>
<td style="text-align:left">ERROR_USER_SECRET</td>
<td style="text-align:left">1217</td>
<td style="text-align:left">the user&apos;s secret index</td>
<td style="text-align:left">User secret is not set or set illegally</td>
<td style="text-align:left">Please check whether the secret is set when building the user, or whether it is within a reasonable range [1,9999]</td>
</tr>
<tr>
<td style="text-align:left">ERROR_OTA_FAIL</td>
<td style="text-align:left">1218</td>
<td style="text-align:left">ota firmware fail</td>
<td style="text-align:left">ota firmware failed</td>
<td style="text-align:left">Please check the bin file and try again later</td>
</tr>
<tr>
<td style="text-align:left">ERROR_OTA_LOW_POWER</td>
<td style="text-align:left">1219</td>
<td style="text-align:left">ota low power</td>
<td style="text-align:left">ota device low battery</td>
<td style="text-align:left">Please recharge or replace the battery and try again</td>
</tr>
</tbody>
</table>
<h3 id="shared-scale-related-errors">Shared scale related errors</h3>
<table>
<thead>
<tr>
<th style="text-align:left">Error constant</th>
<th style="text-align:left">error code</th>
<th style="text-align:left">meaning</th>
<th style="text-align:left">Explanation</th>
<th style="text-align:left">solution</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">ERROR_CODER</td>
<td style="text-align:left">1301</td>
<td style="text-align:left">coder is error</td>
<td style="text-align:left">QR code error</td>
<td style="text-align:left">Please contact customer service</td>
</tr>
<tr>
<td style="text-align:left">ERROR_CODER_INVALID</td>
<td style="text-align:left">1302</td>
<td style="text-align:left">coder invalid</td>
<td style="text-align:left">QR code invalid</td>
<td style="text-align:left">Please regenerate</td>
</tr>
</tbody>
</table>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="body_shape.html" class="navigation navigation-prev " aria-label="Previous page: Body shape comparison table">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="area_type.html" class="navigation navigation-next " aria-label="Next page: Area Type">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Error Code","level":"1.6.6","depth":2,"next":{"title":"Area Type","level":"1.6.7","depth":2,"path":"attouched_list/area_type.md","ref":"attouched_list/area_type.md","articles":[]},"previous":{"title":"Body shape comparison table","level":"1.6.5","depth":2,"path":"attouched_list/body_shape.md","ref":"attouched_list/body_shape.md","articles":[]},"dir":"ltr"},"config":{"plugins":["mermaid-gb3"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"mermaid-gb3":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"language":"en","gitbook":"*"},"file":{"path":"attouched_list/error_code.md","mtime":"2022-03-01T12:53:11.316Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2023-01-16T11:02:39.181Z"},"basePath":"..","book":{"language":"en"}});
        });
    </script>
</div>

        
    
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-mermaid-gb3/book/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    <script src="../../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.min.js"></script>

    </body>
</html>

